package com.kehutong.applet.service;

import com.kehutong.applet.entity.AppletMenuEntity;
import com.kehutong.applet.entity.AppletMenuPageEntity;
import com.kehutong.applet.service.impl.AppletMenuServiceImpl;
import org.coraframework.inject.ImplementedBy;
import org.coraframework.json.JSONObject;
import org.coraframework.orm.jdbc.Page;

import java.util.List;

/**
 * @program: kht
 * @description: 小程序菜单服务接口
 * @author: joneron
 * @create: 2021/5/21
 **/
@ImplementedBy(AppletMenuServiceImpl.class)
public interface AppletMenuService extends BaseService<AppletMenuEntity>{


    Page<AppletMenuPageEntity> findMenuPage(JSONObject jsonObject);

    List<AppletMenuPageEntity> findMenuList(JSONObject jsonObject);

    Integer save(AppletMenuPageEntity t);

    Integer update(AppletMenuPageEntity t);

    Integer deleteMenuById(String id);

}
